home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Sample Code / Snippets / Development Tools & Languages / MouseInfo 1.0.1 / ResourceConstants.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-15  |  1.0 KB  |  41 lines  |  [TEXT/MPS ]

  1. //     ResourceConstants.h file
  2. //     Copyright © 1992 by Apple Computer, Inc.  All rights reserved. 
  3. //    Kent Sandvik DTS
  4. //    This file contains resource types which are needed in both the
  5. //    source code and the resource files. 
  6. //    Version Info (latest first):
  7. //
  8. //    <1>        khs        1.0        First final version
  9. //    <2>        khs        1.0.1    Fixed a memory leak in TMapApplication::GetSleepValue()
  10.  
  11.  
  12. #ifndef __RESOURCECONSTANTS__
  13. #define __RESOURCECONSTANTS__
  14.  
  15. //    Signature and Type
  16. #define kSignature                'FOOB'            // application signature
  17. #define kFileType                'FOOD'            // file type code used for document files created by this application
  18. #define kStationery                'fOOD'            // Stationery file type 
  19.  
  20.  
  21. //    Bundle Constants
  22. #define kBundleID                128
  23. #define kApplicationID            128
  24. #define kDocumentID                129
  25. #define kStationeryID            130
  26.  
  27.  
  28. //     Menus and Commands
  29. #define mWindows                3
  30. #define mMouseTrack                4
  31. #define cOpenTracker            4001
  32.  
  33. //    Views
  34. #define kMainWindow                1002            // the main document window
  35. #define kFloatingWindow            1003            // floating window
  36.  
  37.  
  38.  
  39. #endif __RESOURCECONSTANTS__
  40.  
  41.